package com.hzdl.flower.service;


import com.github.pagehelper.PageInfo;
import com.hzdl.flower.bean.Flower;
import com.hzdl.flower.util.PageUtil;
import com.hzdl.flower.vo.FlowerVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


public interface FlowerService {

    List<Flower> findFlower(FlowerVo flowerVo);

    List<Flower> findNew(FlowerVo flowerVo);
    List<Flower> findhot(FlowerVo flowerVo);
    Flower findById(FlowerVo flowerVo);
    int countAll(FlowerVo flowerVo);
    PageInfo findPage(Map<String,Object> map,Integer startIndex, Integer pagesize);
    List<Flower> findByTypeAndColor(Integer type,String color);

}
